package com.neusoft.ysu.npms.mapper;

import com.neusoft.ysu.npms.pojo.Secondrisk;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
@Mapper
public interface SecondriskMapper extends BaseMapper<Secondrisk> {
    Integer add(Secondrisk secondrisk);
    Integer deleteSrisk(Secondrisk secondrisk);
    Integer updateSrisk(Secondrisk secondrisk);
    List<Secondrisk> selectAll();
    Secondrisk findById(Secondrisk secondrisk);
    Integer findByName(Integer sriskid);
}
